import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入element ui
import ElementUI from "element-ui"
import 'element-ui/lib/theme-chalk/index.css'
// 使用element ui
Vue.use(ElementUI)

// 引入axios
import axios from 'axios'
// axios全局默认url
axios.defaults.baseURL = "http://localhost:8050"
// 把axios绑定到vue原型
Vue.prototype.$axios = axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
